Micron Document
🎖️GitЯра🎖️


Displaying Raw • Download

core/navigation/src/commonMain/kotlin/org/meshtastic/core/navigation/TopLevelDestination.kt ea85b906e86c00261ec91f9ad7cf4a601417d135 (ea85b906) Text, 1.88 KB

T8b949e/*
* Copyright (c) 2026 Meshtastic LLC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
Tff7b72package T7ee787org.meshtastic.core.navigation

Tff7b72import T7ee787androidx.navigation3.runtime.NavKey
Tff7b72import T7ee787org.jetbrains.compose.resources.StringResource
Tff7b72import T7ee787org.meshtastic.core.resources.Res
Tff7b72import T7ee787org.meshtastic.core.resources.bottom_nav_settings
Tff7b72import T7ee787org.meshtastic.core.resources.connect
Tff7b72import T7ee787org.meshtastic.core.resources.map
Tff7b72import T7ee787org.meshtastic.core.resources.messages
Tff7b72import T7ee787org.meshtastic.core.resources.nodes

T8b949e/**
* Shared top-level destinations for the application shell.
*
* Defines the canonical set of destinations and their corresponding labels and routes, ensuring parity between Android
* and Desktop navigation shells.
*/
Tff7b72enum Tff7b72class T56d364TopLevelDestinationTb4b4b4(Tff7b72val Te6edf3labelTb4b4b4: Te6edf3StringResourceTb4b4b4, Tff7b72val Te6edf3routeTb4b4b4: Te6edf3RouteTb4b4b4) Tb4b4b4{
Te6edf3MessagesTb4b4b4(Te6edf3ResTb4b4b4.Te6edf3stringTb4b4b4.Te6edf3messagesTb4b4b4, Te6edf3ContactsRouteTb4b4b4.Te6edf3ContactsTb4b4b4)Tb4b4b4,
Te6edf3NodesTb4b4b4(Te6edf3ResTb4b4b4.Te6edf3stringTb4b4b4.Te6edf3nodesTb4b4b4, Te6edf3NodesRouteTb4b4b4.Te6edf3NodesTb4b4b4)Tb4b4b4,
Te6edf3MapTb4b4b4(Te6edf3ResTb4b4b4.Te6edf3stringTb4b4b4.Te6edf3mapTb4b4b4, Te6edf3MapRouteTb4b4b4.Te6edf3MapTb4b4b4(Tb4b4b4)Tb4b4b4)Tb4b4b4,
Te6edf3SettingsTb4b4b4(Te6edf3ResTb4b4b4.Te6edf3stringTb4b4b4.Te6edf3bottom_nav_settingsTb4b4b4, Te6edf3SettingsRouteTb4b4b4.Te6edf3SettingsTb4b4b4(Tb4b4b4)Tb4b4b4)Tb4b4b4,
Te6edf3ConnectTb4b4b4(Te6edf3ResTb4b4b4.Te6edf3stringTb4b4b4.Te6edf3connectTb4b4b4, Te6edf3ConnectionsRouteTb4b4b4.Te6edf3ConnectionsTb4b4b4)Tb4b4b4,
Tb4b4b4;

Tff7b72companion Tff7b72object Tb4b4b4{
Tff7b72fun Td2a8fffromNavKeyTb4b4b4(Te6edf3keyTb4b4b4: Te6edf3NavKey?Tb4b4b4)Tb4b4b4: Te6edf3TopLevelDestination? Tff7b72=
Te6edf3entriesTb4b4b4.Te6edf3find Tb4b4b4{ Te6edf3dest Tff7b72-Tff7b72> Te6edf3keyTff7b72?.Te6edf3let Tb4b4b4{ Tffa657itTff7b72::Tff7b72class == T56d364destTb4b4b4.Te6edf3routeTff7b72::Tff7b72class } == T56d364true Tb4b4b4}
Tb4b4b4}
Tb4b4b4}

Served by rngit 1.5.0 - Generated in 0.04s